
form method='get'
  input type='text' value=params[:id] name='id' hidden=true
  .col-md-6
    |结算金额：
    input type='text' value="#{@part_purchase.total}" name='pay_total'
  .col-md-6
    .form-inline
      |付款方式：
      select.form-control name="payment_method" style="width:150px"
        - @payment_method.each do |p|
            option value="#{p.name}" = "#{p.name}"
      a href="/payment_methods" 增加
      
    
        

  input type='submit' name='payment' class='btn btn-success btn-xs' value='确定' style="margin-left:10px;"
